package com.lpf.decorator;

// 具体组件 - 简单文本
class SimpleText implements Text {
    private String content;

    public SimpleText(String content) {
        this.content = content;
    }

    @Override
    public void display() {
        System.out.print(content);
    }
}
